package com.cmc.cloud.cmclink.doc.vo.portdesc;

import com.cmc.cloud.cmclink.doc.configuration.CustomLocalDateTimeSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 港口描述Response VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 港口描述 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class PortDescRespVO extends PortDescBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "30418")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @JsonSerialize(using = CustomLocalDateTimeSerializer.class)
    private LocalDateTime createTime;


    @Schema(description = "操作时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @JsonSerialize(using = CustomLocalDateTimeSerializer.class)
    private LocalDateTime updateTime;

    @Schema(description = "操作人", requiredMode = Schema.RequiredMode.REQUIRED)
    private String updater;

}
